//package com.ruoyi.system.api.sms;
//
//import cn.iocoder.yudao.module.system.service.sms.SmsSendService;
//import com.ruoyi.common.core.core.domain.R;
//import com.ruoyi.system.api.sms.dto.send.SmsSendSingleToUserReqDTO;
//import jakarta.annotation.Resource;
//import org.springframework.stereotype.Service;
//
//@Service
//public class SmsSendApiImpl implements SmsSendApi {
//
//    @Resource
//    private SmsSendService smsSendService;
//
//    @Override
//    public R<Long> sendSingleSmsToAdmin(SmsSendSingleToUserReqDTO reqDTO) {
//        return R.ok(smsSendService.sendSingleSmsToAdmin(reqDTO.getMobile(), reqDTO.getUserId(),
//            reqDTO.getTemplateCode(), reqDTO.getTemplateParams()));
//    }
//
//    @Override
//    public R<Long> sendSingleSmsToMember(SmsSendSingleToUserReqDTO reqDTO) {
//        return R.ok(smsSendService.sendSingleSmsToMember(reqDTO.getMobile(), reqDTO.getUserId(),
//            reqDTO.getTemplateCode(), reqDTO.getTemplateParams()));
//    }
//
//}
